export class TeamModal {
    public id: string;
    public name: string;
    public descr: string;
    public manageId: string;
    constructor(obj?) {
        const instance = this;
        if (!obj) { return; }
        (obj.id) && (instance.id = obj.id);
        (obj.name) && (instance.name = obj.name);
        (obj.descr) && (instance.descr = obj.descr);
        (obj.manageId) && (instance.manageId = obj.manageId);
    }
}

export class MajorModal {
    public name: string;
    public descr: string;
    public status = 1;
    constructor(obj?) {
        const instance = this;
        if (!obj) { return; }
        (obj.name) && (instance.name = obj.name);
        (obj.descr) && (instance.descr = obj.descr);
        (obj.status) && (instance.status = obj.status);
    }
}
